package com.notice.entity;

import java.io.Serializable;

import java.util.Date;

public class Messages implements Serializable {

    private Integer mid;
    private String context;
    private Integer mtype;
    private String mtime;
    private String head;
    public Messages(){}

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public Messages(Integer mid, String context, Integer mtype, String mtime, String head) {
        this.mid = mid;
        this.context = context;
        this.mtype = mtype;
        this.mtime = mtime;
        this.head = head;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getMtype() {
        return mtype;
    }

    public void setMtype(Integer mtype) {
        this.mtype = mtype;
    }

    public String getMtime() {
        return mtime;
    }

    public void setMtime(String mtime) {
        this.mtime = mtime;
    }
}
